📌 Create Variable
The Create Variable action allows you to define and initialize variables within your Pageflows, enabling dynamic data storage and manipulation.
Configuration​
- Name: Specify a unique identifier for the variable.
- Data Type: Choose the type of data the variable will hold, such as:
string
: Textual datanumber
: Numeric valuesboolean
: True/False values- Other supported types depending on the platform
- Value: Optionally provide an initial value to assign to the variable.
Features​
- Supports multiple data types to fit various use cases.
- Variables can be updated and referenced throughout the Pageflows.
- Simplifies complex logic by breaking data into manageable pieces.
- Helps pass information between different Pageflows actions.
Use Cases​
- Store user inputs temporarily during form processing.
- Maintain counters or flags for conditional logic.
- Hold intermediate calculation results.
- Pass configuration parameters dynamically between Pageflows steps.
Notes​
- Variable names should be unique and descriptive.
- Initial values should match the selected data type.
- Uninitialized variables may have default or null values depending on the system.
Tip: Combine variables with conditions and custom code actions to build powerful and flexible Pageflowss.